ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX.WIC Namespace / BitmapFrameEncode Class / SetColorContexts Method / SetColorContexts(ColorContext[]) Method
The color contexts to set for the encoder.

In This Topic
    SetColorContexts(ColorContext[]) Method
    In This Topic
    Sets the ColorContext objects for this frame encoder.
    Syntax
    'Declaration
     
    Public Overloads Sub SetColorContexts( _
       ByVal colorContextOut() As ColorContext _
    ) 
    public void SetColorContexts( 
       ColorContext[] colorContextOut
    )

    Parameters

    colorContextOut
    The color contexts to set for the encoder.

    Return Value

    If the method succeeds, it returns C1.Util.DX.HResult.Ok. Otherwise, it throws an exception.
    See Also